package ${packageName}<#if moduleName??>.${moduleName}</#if>.entity;

import ${packageName}.base.entity.BaseEntity;
import org.springframework.util.StringUtils;
import java.util.Date;
import lombok.Data;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * ${tableField.Comment!''}实体类
 * 作者：${author}
 * 创建时间: ${createDate}
 */
@Data
@ApiModel("${tableField.Comment!''}")
public class ${beanName}Entity extends BaseEntity {

<#list Fields as field>
    /**
     * ${field.comment!''}
     */
    @ApiModelProperty("${field.comment!''}")
    private ${field.javaType!''} ${field.javaField!''};

    <#if field.queryMethods == "between">
    /**
    * ${field.comment!''}开始
    */
    @ApiModelProperty("${field.comment!''}开始")
    private ${field.javaType!''} ${field.javaField!''}Start;

    /**
    * ${field.comment!''}结束
    */
    @ApiModelProperty("${field.comment!''}结束")
    private ${field.javaType!''} ${field.javaField!''}End;
    </#if>

</#list>
}